using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Microsoft.ApplicationBlocks.Data;
using System.Data.SqlClient;
using System.Xml;
using System.IO;
using System.Configuration;

namespace AutoRuParser
{
  public delegate string AsyncMethodCaller();
  class Program
  {
    static void Main(string[] args)
    {
      string connectString = ConfigurationSettings.AppSettings["ConnectionString"];
      string path = ConfigurationSettings.AppSettings["Path"];
      //HtmlParser htmlParser = new HtmlParser(connectString, path, 5);
      //AsyncMethodCaller caller = new AsyncMethodCaller(htmlParser.Start);
      //IAsyncResult result = caller.BeginInvoke(null, null);
      Operations.ChangeRecordStatus(connectString);
      //Operations.UnionRecords(connectString);
      //string returnValue = caller.EndInvoke(result);
    }
  }
}